﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EnterApp.Core.DomainModel;
using Test.DomainModel.Entities;

namespace Test.DomainModel.Repositories
{
    public interface IBorrowInfoRepository : IRepository<BorrowInfo, UniqueId>, IRemoveableRepository<BorrowInfo, UniqueId>
    {
        IList<BorrowInfo> FindNotReturnedBorrowInfos(UniqueId borrowerId);
        BorrowInfo FindNotReturnedBorrowInfo(UniqueId borrowerId, UniqueId bookId);
    }
}
